package com.common.chris.exception;

import lombok.Data;

/**
 * 业务异常
 *
 * @author wujf
 * @date 2021/10/25
 */
@Data
public class BusinessException extends RuntimeException{

    private String code;
    private String msg;

    public BusinessException(String code, String msg) {
        super(msg);
        this.code = code;
        this.msg = msg;
    }


}
